import { ipcInvokeFun } from '@/system/sysUtils';

window.dbkrJsonParam = {
    getKrJsonParamAll: async (...args) => ipcInvokeFun('dbkrJsonParam', `getKrJsonParamAll`, ...args),
    saveOrUpdateById: async (...args) => ipcInvokeFun('dbkrJsonParam', `saveOrUpdateById`, ...args),
};

window.dbkrAdapter = {
    getAll: async (...args) => ipcInvokeFun('dbkrAdapter', `getAll`, ...args),
    saveOrUpdateById: async (...args) => ipcInvokeFun('dbkrAdapter', `saveOrUpdateById`, ...args),
    deleteById: async (...args) => ipcInvokeFun('dbkrAdapter', `deleteById`, ...args),
};
